package com.hz.web.dao;

import com.hz.web.entity.CertificatoryComp;

import java.util.List;
import java.util.Map;

public interface CertificatoryCompMapper {
    int deleteByPrimaryKey(Integer certificateId);

    int insert(CertificatoryComp record);

    int insertSelective(CertificatoryComp record);

    CertificatoryComp selectByPrimaryKey(Integer certificateId);

    int updateByPrimaryKeySelective(CertificatoryComp record);

    int updateByPrimaryKey(CertificatoryComp record);

    List<CertificatoryComp> selectByTypeAndNameOrNum(String type, String nameOrNum);

    List<CertificatoryComp> selectByCompanyId(Map<String, Object> map);

    int selectByCompanyIdCount(Map<String, Object> parmsMap);

    int deleteByPrimaryKey(CertificatoryComp certificatoryComp);
}